
const state = {
	online : {
		loading:true,
	},
}

const getters = {
	getOnline: state => {
		return state.online ;
	},
}

const actions = {
	setOnline({commit,state}, {online}) {
		commit('setOnline',{online}) ;
	},
}

const mutations = {
	setOnline(state, {online}) {
		state.online = online ;
	},
}

export default {
	namespaced: true,
	state,
	getters,
	actions,
	mutations
}
